package com.crm.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.time.LocalDateTime;

@TableName(value ="clue")
@Data
public class Clue  extends BaseEntity{
    private Long id;

    private Long activityId;//活动id

    private String name;// 姓名

    private String phone;// 手机号

    private Integer sex; //性别

    private Integer age; //年龄

    private String weixin; //微信

    private String qq;  //qq

    private  String owner;//所属人姓名

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime ownerTime;

    private Integer channel;//渠道id

    private String status;  //线索状态

    private Integer transfer;//转移

    private Integer reason;//转移原因

    private Integer userId;//创建人id

    private Long falseCount;//失败次数

    //下次跟进时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
    private LocalDateTime nextTime;

    private String assignBy;//分配人

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
    private LocalDateTime assignTime;


}
